package com.xt.purchasingsystem.feign.impl;

import com.xt.purchasingsystem.dto.SGatherDto;
import com.xt.purchasingsystem.feign.ErpManagementClient;
import com.xt.purchasingsystem.model.DFile;
import com.xt.purchasingsystem.utils.Result;
import com.xt.purchasingsystem.utils.ResultFactory;

/**
 * Erp模块客户端调用服务熔断实现类
 * @author: 老姚
 * Date:  2020/6/17 21:39
 */
public class ErpManagementClientImpl implements ErpManagementClient {
    @Override
    public Result productFileRegistrtion(DFile form) {
        return  ResultFactory.buildErrorResult("超时或异常");
    }

    @Override
    public Result submitWarehouse(SGatherDto sGatherDto) {
        return  ResultFactory.buildErrorResult("超时或异常");
    }
}
